package com.bawei.product.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "属性图片")
public class AttrImageVo {

    @ApiModelProperty(value = "属性值的ID")
    @NotNull(message = "属性值的ID不能为空")
    private Integer attrValueId;

    @ApiModelProperty(value = "图片地址")
    @NotEmpty(message = "图片地址不能为空")
    private String imageUrl;

}